home *** CD-ROM | disk | FTP | other *** search
- #define CURSES_LIBRARY 1
- #include <curses.h>
- #undef meta
-
- #ifdef PDCDEBUG
- char *rcsid_meta = "$Header: C:\CURSES\portable\RCS\meta.c 2.1 1993/06/18 20:20:17 MH Rel MH $";
- #endif
-
-
-
-
- /*man-start*********************************************************************
-
- meta() - Force the number of significant bits on input.
-
- Ultrix 4.1 Description:
- This function forces the user's terminal to return 7 or 8
- significant bits on input. To force 8 bits to be returned,
- invoke meta() with bf as TRUE. To force 7 bits to be returned,
- invoke meta() with bf as FALSE.
-
- The window argument is always ignored, but it must still be a
- valid window to avoid compiler errors.
-
- PDCurses Description:
- This function is provided for portability. By default, 8 bits
- are returned.
-
- FYI: The Ultrix DOC needs confirmation...
-
- PDCurses Return Value:
- The meta() function returns OK.
-
- PDCurses Errors:
- No errors are defined for this function.
-
- Portability:
- PDCurses int meta( WINDOW* win, bool bf );
- BSD Curses int meta( WINDOW* win, bool bf );
- SYS V Curses int meta( WINDOW* win, bool bf );
-
- **man-end**********************************************************************/
-
- int meta( WINDOW *win, bool bf )
- {
- #ifdef PDCDEBUG
- if (trace_on) PDC_debug("meta() - called\n");
- #endif
-
- #ifdef UNIX
- /* INCOMPLETE */
- #endif
-
- #ifdef TC
- # pragma argsused;
- #endif
- _cursvar.raw_inp = bf;
- return( OK );
- }
-